
package br.com.absolutech.study.chapter5.p186;


public class RamificacaoIfElse {

    public static void main(String[] args) {

	int y = 5;
	int x = 2;

	if (((x > 3) && (y < 2)) | doStuff()) {
	    System.out.println("true1");
	}

	if ((x > 3) && (y < 2) | doStuff()) {
	    System.out.println("true2");
	}

    }


    static boolean doStuff() {
	return true;
	//	return false;
    }

}
